﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Argos.Hosting
{
	public sealed class MonitoringWorkflowTerminatedEventArgs : EventArgs
	{
		public MonitoringWorkflowTerminatedEventArgs(Guid targetId, Guid workflowInstanceId, Exception exception)
		{
			this.TargetId = targetId;
			this.WorkflowInstanceId = workflowInstanceId;
			this.Exception = exception;
		}

		public Exception Exception { get; private set; }

		public Guid TargetId { get; private set; }

		public Guid WorkflowInstanceId { get; private set; }

	}
}
